package io.renren.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.renren.common.service.impl.CrudServiceImpl;
import io.renren.dao.MerchantwithdrawDao;
import io.renren.dao.SysDeptDao;
import io.renren.dto.MerchantwithdrawDTO;
import io.renren.entity.MerchantwithdrawEntity;
import io.renren.service.MerchantwithdrawService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 商户提现记录
 *
 * @author ms
 * @since 1.0.0 2019-05-28
 */
@Service
public class MerchantwithdrawServiceImpl extends CrudServiceImpl<MerchantwithdrawDao, MerchantwithdrawEntity, MerchantwithdrawDTO> implements MerchantwithdrawService {

	@Autowired
	private SysDeptDao sysDeptDao;

	@Autowired
	private MerchantwithdrawDao merchantwithdrawDao;

	@Override
	public MerchantwithdrawEntity selectByOrderId(String orderid) {
		return merchantwithdrawDao.selectOne(new QueryWrapper<MerchantwithdrawEntity>().eq("orderid", orderid));
	}

	@Override
	public QueryWrapper<MerchantwithdrawEntity> getWrapper(Map<String, Object> params) {
		return null;
	}
}